<?php

# 基本配置
return [
    [
        'name' => 'single_mch',
        'title' => '是否开启单商户模式',
        'component' => 'switches',
        'value' => 0,
        'extra' => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
    [
        'name'          => 'web_name',
        'title'         => '应用名称',
        'value'         => '',
        'component'     => 'input',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
                'placeholder'   => '请输入网站名称',
            ],
        ],
    ],
    [
        'name'          => 'web_logo',
        'title'         => '应用图标',
        'value'         => '',
        'component'     => 'uploadify',
        'extra'         => [],
    ],
    [
        'component' => 'radio',
        'name' => 'sms_channels',
        'value' => '',
        'title' => '系统短信服务商',
        'extra'         => [
            'options' => [
                [
                    'value' => 'aliyun',
                    'label' => '阿里云'
                ],
                [
                    'value' => 'smsbao',
                    'label' => '短信宝'
                ]
            ],
            'props'     => [],
        ]
    ],
    [
        'component' => 'radio',
        'name' => 'map_channels',
        'value' => '',
        'title' => '地图服务商',
        'extra'         => [
            'options' => [
                [
                    'value' => '',
                    'label' => '关闭'
                ],
                [
                    'value' => 'amap',
                    'label' => '高德地图'
                ]
            ],
            'props'     => [],
        ]
    ],
    [
        'name' => 'imgcode',
        'title' => '是否开启登录注册图形验证码',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
    [
        'name'          => 'vip_member_name',
        'title'         => '开通会员名称',
        'value'         => '',
        'component'     => 'input',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
                'placeholder'   => '请输入会员名称',
            ],
        ],
    ],
    [
        'name' => 'wechat_mp_audit',
        'title' => '微信小程序审核状态',
        'component' => 'switches',
        'value' => 1,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '审核中',
                'inactiveText' => '运营中',
            ]
        ]
    ],
    [
        'name'          => 'industry_personnel_name',
        'title'         => '行业人员从业名称',
        'value'         => '技师',
        'component'     => 'input',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
                'placeholder'   => '请输入行业从业者名称，如：技师',
            ],
        ],
    ]
];
